package com.gluck.cases.core.modal.dto;


import com.gluck.cases.core.modal.BaseEntity;

import java.util.List;

/**
 * @ClassName PermissionListDTO
 * @Desc PermissionListDTO
 * @Author I am Gluck
 * @Date 2022/5/21 - 12:15 上午
 **/
public class PermissionListDTO extends BaseEntity {


    private Integer id;

    private String name;

    private String perCode;

    private String url;

    private Long sort;

    private String createdBy;

    private Long parentId;

    private Boolean category;

    private String remark;

    private List<PermissionListDTO> childList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPerCode() {
        return perCode;
    }

    public void setPerCode(String perCode) {
        this.perCode = perCode;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Boolean getCategory() {
        return category;
    }

    public void setCategory(Boolean category) {
        this.category = category;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<PermissionListDTO> getChildList() {
        return childList;
    }

    public void setChildList(List<PermissionListDTO> childList) {
        this.childList = childList;
    }

    @Override
    public String toString() {
        return "PermissionListDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", perCode='" + perCode + '\'' +
                ", url='" + url + '\'' +
                ", sort=" + sort +
                ", createdBy='" + createdBy + '\'' +
                ", parentId=" + parentId +
                ", category=" + category +
                ", remark='" + remark + '\'' +
                ", childList=" + childList +
                '}';
    }
}
